1
|
|
|
export function managerApplicationShow( |
2
|
|
|
locale: string, |
3
|
|
|
applicationId: number, |
4
|
|
|
): string { |
5
|
|
|
return `/${locale}/manager/applications/${applicationId}`; |
6
|
|
|
} |
7
|
|
|
|
8
|
|
|
export function managerApplicantShow( |
9
|
|
|
locale: string, |
10
|
|
|
applicantId: number, |
11
|
|
|
): string { |
12
|
|
|
return `/${locale}/manager/applicants/${applicantId}`; |
13
|
|
|
} |
14
|
|
|
|
15
|
|
|
export function managerEditProfile(locale: string): string { |
16
|
|
|
return `/${locale}/manager/profile`; |
17
|
|
|
} |
18
|
|
|
|
19
|
|
|
export function managerJobIndex(locale: string): string { |
20
|
|
|
return `/${locale}/manager/jobs`; |
21
|
|
|
} |
22
|
|
|
|
23
|
|
|
export function managerJobShow(locale: string, jobId: number): string { |
24
|
|
|
return `/${locale}/manager/jobs/${jobId}`; |
25
|
|
|
} |
26
|
|
|
|
27
|
|
|
export function managerJobApplications(locale: string, jobId: number): string { |
28
|
|
|
return `/${locale}/manager/jobs/${jobId}/applications`; |
29
|
|
|
} |
30
|
|
|
|
31
|
|
|
export function managerScreeningPlan(locale: string, jobId: number): string { |
32
|
|
|
return `/${locale}/manager/jobs/${jobId}/assessment-plan`; |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
export function applicationReviewUpdate( |
36
|
|
|
locale: string, |
37
|
|
|
applicationId: number, |
38
|
|
|
): string { |
39
|
|
|
return `/api/applications/${applicationId}/review`; |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
export function jobBuilderIntro(locale: string, jobId?: number): string { |
43
|
|
|
if (jobId) { |
44
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/intro`; |
45
|
|
|
} |
46
|
|
|
return `/${locale}/manager/job-builder/intro`; |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
export function jobBuilderDetails(locale: string, jobId: number): string { |
50
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/details`; |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
export function jobBuilderEnv(locale: string, jobId: number): string { |
54
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/environment`; |
55
|
|
|
} |
56
|
|
|
|
57
|
|
|
export function jobBuilderImpact(locale: string, jobId: number): string { |
58
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/impact`; |
59
|
|
|
} |
60
|
|
|
|
61
|
|
|
export function jobBuilderTasks(locale: string, jobId: number): string { |
62
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/tasks`; |
63
|
|
|
} |
64
|
|
|
|
65
|
|
|
export function jobBuilderSkills(locale: string, jobId: number): string { |
66
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/skills`; |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
export function jobBuilderReview(locale: string, jobId: number): string { |
70
|
|
|
return `/${locale}/manager/jobs/${jobId}/builder/review`; |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
type FaqSection = "manager-who"; |
74
|
|
|
|
75
|
|
|
export function managerFaq(locale: string, faqSection?: FaqSection): string { |
76
|
|
|
const base = `/${locale}/manager/faq`; |
77
|
|
|
if (faqSection) { |
78
|
|
|
return `${base}#${faqSection}`; |
79
|
|
|
} |
80
|
|
|
return base; |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
export function hrJobIndex(locale: string): string { |
84
|
|
|
return `/${locale}/hr/jobs`; |
85
|
|
|
} |
86
|
|
|
export function hrJobSummary(locale: string, jobId: number): string { |
87
|
|
|
return `/${locale}/hr/jobs/${jobId}/summary`; |
88
|
|
|
} |
89
|
|
|
export function hrJobReview(locale: string, jobId: number): string { |
90
|
|
|
return `/${locale}/hr/jobs/${jobId}/review`; |
91
|
|
|
} |
92
|
|
|
export function hrJobPreview(locale: string, jobId: number): string { |
93
|
|
|
return `/${locale}/hr/jobs/${jobId}/preview`; |
94
|
|
|
} |
95
|
|
|
export function hrScreeningPlan(locale: string, jobId: number): string { |
96
|
|
|
return `/${locale}/hr/jobs/${jobId}/assessment-plan`; |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
export function accountSettings(locale: string): string { |
100
|
|
|
return `/${locale}/settings`; |
101
|
|
|
} |
102
|
|
|
|